package com.itheima.xiancheng.demo3;

public class Desk {
    private int hbCount;
    private boolean flag=false;

    public int getHbCount() {
        return hbCount;
    }

    public void setHbCount(int hbCount) {
        this.hbCount = hbCount;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public  void  put(int hbCount){
        this.hbCount=hbCount;
        System.out.println("厨师生产第"+hbCount+"汉堡");
    }
    public void take(){
        System.out.println("吃货吃第"+hbCount+"汉堡");
    }

}
